/**
 * 
 */
package com.yidu.drug.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.drug.dao.ReturnsDetailModelMapper;
import com.yidu.drug.model.ReturnsDetailModel;
import com.yidu.drug.service.ReturnsDetailService;

/**
 * 类的描述
 * @author yuanqing
 * @date 2018年8月9日下午3:42:04
 * @version 1.0
 */
@Service
public class ReturnsDetailServiceimpl implements ReturnsDetailService{
	@Resource
	private ReturnsDetailModelMapper returnsDao;

	@Override
	public int deleteByPrimaryKey(String rdId) {
		// TODO Auto-generated method stub
		return returnsDao.deleteByPrimaryKey(rdId);
	}

	@Override
	public int insert(ReturnsDetailModel record) {
		// TODO Auto-generated method stub
		return returnsDao.insert(record);
	}

	@Override
	public int insertSelective(ReturnsDetailModel record) {
		// TODO Auto-generated method stub
		return returnsDao.insertSelective(record);
	}

	@Override
	public ReturnsDetailModel selectByPrimaryKey(String rdId) {
		// TODO Auto-generated method stub
		return returnsDao.selectByPrimaryKey(rdId);
	}

	@Override
	public int updateByPrimaryKeySelective(ReturnsDetailModel record) {
		// TODO Auto-generated method stub
		return returnsDao.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ReturnsDetailModel record) {
		// TODO Auto-generated method stub
		return returnsDao.updateByPrimaryKey(record);
	}

	@Override
	public int findTotalRows(ReturnsDetailModel record) {
		// TODO Auto-generated method stub
		return returnsDao.findTotalRows(record);
	}

	@Override
	public List<ReturnsDetailModel> findAllPage(Map<String, String> paramMap) {
		// TODO Auto-generated method stub
		return returnsDao.findAllPage(paramMap);
	}

	@Override
	public List<ReturnsDetailModel> findLoginRows(ReturnsDetailModel t) {
		// TODO Auto-generated method stub
		return returnsDao.findLoginRows(t);
	}

	@Override
	public int save(ReturnsDetailModel returnsDetail) {
		// TODO Auto-generated method stub
		return returnsDao.save(returnsDetail);
	}

	@Override
	public List<ReturnsDetailModel> selectByReId(String reId) {
		// TODO Auto-generated method stub
		return returnsDao.selectByReId(reId);
	}

	

	
}
